package com.sdsy.domain;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.FieldFill;

import java.io.Serializable;
import java.util.Date;

@TableName("TBL_TRANSFER_ACCOUNTS_EXCEL")
@KeySequence(value = "SEQ_TRANSFER_ACCOUNTS_EXCEL", clazz = Long.class)
public class TransferAccountsExcelDO implements Serializable {
    @TableId("id")
    private Long id;

    private String fromAccountNo;

    private String toAccountNo;

    private String transferNum;

    private String transferType;

    private String transferAmount;

    private String transferPrice;

    private String status;

    private Date createTime;

    private Date updateTime;

    private String remark;
    private String hash;
    @TableField(exist = false)
    private String privateKey;

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    @Version
    @TableField(fill = FieldFill.INSERT)
    private Long version;

    public TransferAccountsExcelDO(Long id, String fromAccountNo, String toAccountNo, String transferNum, String transferType, String transferAmount, String transferPrice, String status, Date createTime, Date updateTime, String remark, Long version,String hash) {
        this.id = id;
        this.fromAccountNo = fromAccountNo;
        this.toAccountNo = toAccountNo;
        this.transferNum = transferNum;
        this.transferType = transferType;
        this.transferAmount = transferAmount;
        this.transferPrice = transferPrice;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.remark = remark;
        this.version = version;
        this.hash = hash;
    }

    public TransferAccountsExcelDO() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFromAccountNo() {
        return fromAccountNo;
    }

    public void setFromAccountNo(String fromAccountNo) {
        this.fromAccountNo = fromAccountNo == null ? null : fromAccountNo.trim();
    }

    public String getToAccountNo() {
        return toAccountNo;
    }

    public void setToAccountNo(String toAccountNo) {
        this.toAccountNo = toAccountNo == null ? null : toAccountNo.trim();
    }

    public String getTransferNum() {
        return transferNum;
    }

    public void setTransferNum(String transferNum) {
        this.transferNum = transferNum == null ? null : transferNum.trim();
    }

    public String getTransferType() {
        return transferType;
    }

    public void setTransferType(String transferType) {
        this.transferType = transferType == null ? null : transferType.trim();
    }

    public String getTransferAmount() {
        return transferAmount;
    }

    public void setTransferAmount(String transferAmount) {
        this.transferAmount = transferAmount == null ? null : transferAmount.trim();
    }

    public String getTransferPrice() {
        return transferPrice;
    }

    public void setTransferPrice(String transferPrice) {
        this.transferPrice = transferPrice == null ? null : transferPrice.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}